package com.ouc.yyi.springcloud.gateway.yml;

import org.springframework.cloud.gateway.filter.GatewayFilter;
import org.springframework.cloud.gateway.filter.factory.AbstractGatewayFilterFactory;
import org.springframework.stereotype.Component;

/**
 * @description:
 * @author: yyi
 * @date: 2022/9/26 14:53
 * @version: 1.0
 **/

@Component
public class UserGatewayFilterFactory extends AbstractGatewayFilterFactory<Object> {
    @Override
    public GatewayFilter apply(Object config) {
        return new UserGatewayFilter();
    }
}
